<?php
echo "<div class='body-warper'>";


	//================== header
	echo "<div class='main-head'>";
	    echo "<div class='setting'>";
	    
	    $li = array();
	    
	    $arrItem = array(
	        'class' => 'item-menu'
	    );
	    $href = base_url() . 'index.php/home/logout';
	    $li[] = anchor($href, 'Log Out', $arrItem);
	    
	    $idUser = $ctlId;
	    $href = base_url() . 'index.php/home/setting/' . $idUser;
	    $li[] = anchor($href, 'Setting', $arrItem);
	    
	    $arrUl = array (
	        'class' => 'menu'
	    );
	    echo ul($li, $arrUl);
	    echo "</div>";
	    
		echo "<div class='logo'>";
		$imgData = array (
			'src' => base_url() . "image/logo.png",
		    'alt' => 'pohon.keluargaRatar.com',
			'width' => '300px',
		    'class' => 'prof_images',
		    'title' => 'That was quite a night',
		    'rel' => 'lightbox',
		);
		echo img($imgData);
		
		echo "</div>";

	echo "</div>";
	
	
	//=================== action button
	echo "<div class='warp-action'>";
	
		$arrbutton = array (
		    'name' => 'newBio',
		    'class' => 'newBio',
		    'value' => '18',
		    'type' => 'button',
		    'content' => "Tambah anggota"
		);
		echo form_button($arrbutton);
	
	echo "</div>";
	
	
	//=================== content
	echo "<div class='main-content'>";

    	echo "<div id='tree'>";
    	echo $ctlTree;
    	echo "</div>";
    	
	echo "</div>";



	//====================== overlay
	echo "<div class='overlay'>";
	echo "</div>";
	
	//====================== laoded-content
	echo "<div class='form-warper'>";
	echo "</div>";
	
echo "</div>";